#-------------------------------------------------
#
# Project created by QtCreator 2011-09-24T11:33:22
#
#-------------------------------------------------

QT       += core xml script

QT       -= gui

TARGET = Analyzers
CONFIG   += console
CONFIG   -= app_bundle

TEMPLATE = app

#include(Flex.pri)
#include(Bisonc++.pri)
#FLEXSOURCES = lex/Scanner.l
#BISONSOURCES = yaccxx/Parser.y

SOURCES += main.cpp \
    Parser.cpp \
    Scanner.cpp \
    AnalyzersExtra.cpp \
    engine/CmdEngine.cpp \
    engine/Command.cpp \
    ParserFuncs.cpp
HEADERS += Parserbase.h Parser.h \
    Scanner.h \
    AnalyzersExtra.h \
    engine/CmdEngine.h \
    engine/Command.h
OTHER_FILES += lex/Scanner.l yaccxx/Parser.y

INCLUDEPATH += ../ClassLoader

HEADERS +=  instanceholder.h

win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../ClassLoader/release/ -llibloader
else:win32:CONFIG(debug, debug|release): LIBS += -L$$OUT_PWD/../ClassLoader/debug/ -llibloader
else:unix:!macx:!symbian: LIBS += -L$$OUT_PWD/../ClassLoader/ -llibloader

libraries.path    = $$OUT_PWD/lib
libraries.files   += etc/testLib.xml etc/ogreLib.xml

ogre.path = $$OUT_PWD
ogre.files += etc/*.cfg

scripts.path = $$OUT_PWD/scripts
scripts.files = scripts/example.ogl

INSTALLS       += libraries ogre scripts
